package com.sz.stock;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication//添加微服务注解
@EnableEurekaClient
@EnableFeignClients(basePackages = "com.sz.stock.client")//添加调用服务的注解
@EnableDiscoveryClient
public class ClientStarter {
    public static void main(String[] args) {
        SpringApplication.run(ClientStarter.class);
    }
}
